/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package gui;

import java.rmi.AccessException;
import java.rmi.NotBoundException;
import java.rmi.RemoteException;
import java.rmi.registry.Registry;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JFrame;
import Server.charServerInt;
import java.rmi.registry.LocateRegistry;

/**
 *
 * @author eman
 */
public class Gui {

    /**
     * @param args the command line arguments
     * 
     * **/
    public static Registry reg;
    public static charServerInt ci=null;
    public static String myMail;
    public static String myStatus;
    public static SplashWindow1 op;
    public static void main(String[] args)
    {
        try {
            reg = LocateRegistry.getRegistry("127.0.0.1");
             ci = (charServerInt) reg.lookup("register");
        
     
     
     op=new SplashWindow1();
     op.setVisible(true);
        } catch (NotBoundException ex) {
            Logger.getLogger(Gui.class.getName()).log(Level.SEVERE, null, ex);
        } catch (AccessException ex) {
            Logger.getLogger(Gui.class.getName()).log(Level.SEVERE, null, ex);
        } catch (RemoteException ex) {
            Logger.getLogger(Gui.class.getName()).log(Level.SEVERE, null, ex);
        }
    }
}
